package comits.business.tiers.dao;

import java.util.Date;
import java.util.List;

import comits.business.tiers.metiers.Commande;


public interface CommandeDAO {
	
	public boolean save(Commande cmd);
	public int getIdMaxCmd();
	List<Commande> getListCommande();
	List<Commande> getListCommandePlan(Date date);
	public List<Commande> getListCommandeDest(int numDest, String site, Date date);
	public int getNumCmd(int numExp, int numDest,String exp, String dest);
	public boolean updateCommande(String string, Date dateRecepPrevue, int numCmd);
	public int RechercherCmd(int numcommande);
	public String getStatutCmd(int numcommande);
	public String getAvisCmd(int numcommande);
	public String getExpediteurCmd(int numcommande);
	public int getNumExpCmd(int numcommande);
	public String getDestinataireCmd(int numcommande);
	public int getNumDestinataireCmd(int numcommande);
	public List<Commande> getListNumCmd(int numCmd);
	public Date getDateRecepCmd(int numcommande);
	public Date getDateCreationCmd(int numcommande);
	public void updateCommandeRecu(String Statut, Date daterecption, String aviscmd,int numCommande);
	public boolean deleteCmd(int nCmd);
	public List<Object> getListNumCommande(Integer numExp);
	public void affecter(int numCmd,int numEmp);
	public int getNumEmp (Integer numCmd);
	public List<Object> getListOrdreEntreeCmd(Integer numExp);
	public List<Commande> getListCommandeDestinataire(int numDest, String site);
	 public boolean initDrpCmd();
}

